home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / smail-3.2.tar.gz / smail-3.2.tar / smail-3.2 / conf / os / aux3.0 < prev    next >
Text File  |  1996-02-26  |  2KB  |  68 lines

  1. #ident    "@(#)smail/conf/os:RELEASE-3_2:aux3.0,v 1.3 1996/02/26 16:19:43 woods Exp"
  2. #
  3. # aux3.0 - define characteristics of Apple A/UX V3.x.x
  4. #
  5. # From: Jim Jagielski (jim@jagubox.gsfc.nasa.gov)
  6. #   (Orig: denny@alisa.com)
  7. #
  8. # OSNAMES - Names defining this operating system
  9. OSNAMES=UNIX_SYS5_3:UNIX_SYS5:UNIX:POSIX_OS
  10.  
  11. # ARCH_TYPE - all mc68k systems
  12. ARCH_TYPE=32bit
  13.  
  14. # LOCKING_PROTOCOL - macros for efficient file locking
  15. LOCKING_PROTOCOL="\
  16. #include <unistd.h>
  17. #include <sys/file.h>
  18. #define lock_fd(fd)          (flock((fd), LOCK_EX|LOCK_NB) < 0? FAIL: SUCCEED)
  19. #define lock_fd_wait(fd)    (flock((fd), LOCK_EX) < 0? FAIL: SUCCEED)
  20. #define unlock_fd(fd)        ((void) flock((fd), LOCK_UN))
  21. #define unlock_fd_wait(fd)    ((void) flock((fd), LOCK_UN))
  22. #define lock_fd_rd_wait(fd)    (flock((fd), LOCK_SH) < 0? FAIL: SUCCEED)
  23. "
  24.  
  25. # FLOCK_MAILBOX - should mailbox files be locked with lock_fd_wait
  26. FLOCK_MAILBOX=TRUE
  27.  
  28. # MAILBOX_DIR - in which directory are user mailbox files found
  29. MAILBOX_DIR=/usr/mail
  30.  
  31. # CONSOLE - name of the console device file
  32. CONSOLE=/dev/console
  33.  
  34. # DECLARE_STRINGS - declare string routines, using macros as needed
  35. DECLARE_STRINGS="\
  36. #include <string.h>
  37. #define index strchr
  38. #define rindex strrchr
  39. "
  40.  
  41. # SECURE_PATH - directories containing system-supplied user programs
  42. SECURE_PATH=/usr/ucb:/bin:/usr/bin
  43.  
  44. # OSLIBS - name any object libraries containing routines we will need
  45. #OSLIBS=" -lbsd -ldbm"
  46. OSLIBS=" -lposix -lbsd -ldbm"
  47.  
  48. # RANLIB - how do we organize an existing object archive library
  49. RANLIB=:
  50.  
  51. # CPPFLAGS(list) - flags to pass into C preprocessor
  52. CPPFLAGS=" -D_POSIX_SOURCE"
  53.  
  54. # DRIVER_CONFIGURATION - configuration file describing smail drivers
  55. DRIVER_CONFIGURATION=arpa-network
  56.  
  57. # CHOWN - command to use for accessing the chown program
  58. CHOWN=/bin/chown
  59.  
  60. # HAVE - what features should be used with this operating system
  61. HAVE=RENAME:MKDIR:BSD_NETWORKING:DBM:BSTRING:SYS5_STRLIB:FSYNC
  62. HAVE=$HAVE:GETOPT:GETHOSTNAME:UNAME:HASH_BANG:DUP2:READDIR
  63. HAVE=$HAVE:VFPRINTF:ULIMIT:BIND:FTRUNCATE:SETGROUPS:SETEUID:HDB_UUCP
  64.  
  65. # MISC_DEFINES - localized smail fixes for A/UX
  66. MISC_DEFINES=FORCE_DIRSIZ_VALUE=14:INCLUDE_UTIME_H
  67. #
  68.